package org.mii.safeguard_v1.security.service.mdef;

import java.lang.reflect.Method;

import org.springframework.aop.ThrowsAdvice;
import org.springframework.security.AccessDeniedException;

/**
 * 控制权限的AOP拦截器抛出 <code>AccessDeniedException</code> 后，进行相应后续处理。
 */
public class AccessDeniedInterceptor implements ThrowsAdvice{

	public void afterThrowing(Method method, Object[] args, Object target,
            AccessDeniedException exception) {
        	//我们可以在这里做些其他事情
    }
}
